package com.yida.gwj.api.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.yida.common.core.annotation.Excel;
import com.yida.common.core.web.domain.BaseEntity;


import java.math.BigDecimal;
import java.util.Date;

/**
 * 计算金额算法对象 common_calculate_data
 *
 * @author lqq
 * @date 2022-12-13
 */

public class GwjConfCalculateData extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@Excel(name = "主键ID")
	private Long calculateDataId;

	/**
	 * 计算标准ID
	 */
	@Excel(name = "计算标准ID")
	private Long calculateTypeId;

	/**
	 * 地区ID
	 */
	@Excel(name = "地区ID")
	private Long areaId;

	/**
	 * 楼栋类型ID
	 */
	//@Excel(name = "楼栋类型ID")
	private Long buildTypeId;

	/**
	 * 金额
	 */
	@Excel(name = "金额")
	private BigDecimal calculateVal;

	/**
	 * 逻辑删除 （0存在，2删除）
	 */
	@Excel(name = "逻辑删除", readConverterExp = "0=存在,2=删除")
	private String delFlag;

	/**
	 * 状态（0正常 1停用）
	 */
	@Excel(name = "状态", readConverterExp = "0=正常,1=停用")
	private String status;

	/**
	 * 楼栋类型名称
	 */
	@Excel(name = "楼栋类型名称")
	private String buildTypeName;

	/**
	 * 开始时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date startTime;

	public Long getCalculateDataId() {
		return calculateDataId;
	}

	public void setCalculateDataId(Long calculateDataId) {
		this.calculateDataId = calculateDataId;
	}

	public Long getCalculateTypeId() {
		return calculateTypeId;
	}

	public void setCalculateTypeId(Long calculateTypeId) {
		this.calculateTypeId = calculateTypeId;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}

	public Long getBuildTypeId() {
		return buildTypeId;
	}

	public void setBuildTypeId(Long buildTypeId) {
		this.buildTypeId = buildTypeId;
	}

	public BigDecimal getCalculateVal() {
		return calculateVal;
	}

	public void setCalculateVal(BigDecimal calculateVal) {
		this.calculateVal = calculateVal;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getBuildTypeName() {
		return buildTypeName;
	}

	public void setBuildTypeName(String buildTypeName) {
		this.buildTypeName = buildTypeName;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("GwjConfCalculateData{");
		sb.append("calculateDataId=").append(calculateDataId);
		sb.append(", calculateTypeId=").append(calculateTypeId);
		sb.append(", areaId=").append(areaId);
		sb.append(", buildTypeId=").append(buildTypeId);
		sb.append(", calculateVal=").append(calculateVal);
		sb.append(", delFlag='").append(delFlag).append('\'');
		sb.append(", status='").append(status).append('\'');
		sb.append(", buildTypeName='").append(buildTypeName).append('\'');
		sb.append(", startTime=").append(startTime);
		sb.append('}');
		return sb.toString();
	}
}
